//
//  ControlPeriods.h
//  FishTank
//
//  Created by Scott Zhu on 14/12/10.
//  Copyright (c) 2014年 Scott Zhu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Period.h"

typedef NS_ENUM(NSInteger, ControlType)
{
    Light = 0,
    Disinfect = 1,
    Water = 2,
    
};

@interface ControlPeriods : NSObject

@property (nonatomic) ControlType type;

@property (nonatomic, strong) Period *period1;
@property (nonatomic, strong) Period *period2;
@property (nonatomic, strong) Period *period3;

- (instancetype)initWithPeriodData:(char *)periodData;

- (void) data:(char *)data;
@end

